#!/bin/bash
#"$@"
#read

source /opt/ros/hydro/setup.bash
#export ROS_WORKSPACE=~/catkin_ws/src/revrev-vivo/
#export ROS_HOSTNAME=Dennisjcj
#export ROS_MASTER_URI=http://10.42.0.65:11311

roscd
cd ~/catkin_ws/src/revrev-vivo/
source devel/setup.bash

cd ~/catkin_ws/src/revrev-vivo/src/dynamixel_manager/launch/

echo "Launching dynamixel_manager.launch"
sudo chmod a+rw /dev/ttyUSB0 #& send --"avoidulance"
roslaunch dynamixel_manager.launch
